"""
Mashq.
"""


import os

print(os.getcwd())
print(__name__)


def shoxlar():
    """
    shoxlar funksiyasi
    """
    for yurish, papkalar, fayllar in os.walk():
        DARAJA = yurish.count(os.sep)
        JOYTASHLASH = ' ' * 4 * DARAJA
        print(f'{JOYTASHLASH}{os.path.basename(yurish)}]')
shoxlar('ogabek')        
